package thermologic.onewire;

/**
 *
 * @author Mauricio
 */
public enum EventCode
{
    BEGIN("EV000"),
    BEGIN_ADAPTER_SEARCH("EV001"),    
    END_ADAPTER_SEARCH("EV002"),
    BEGIN_DEVICE_READ("EV003"),
    END_DEVICE_READ("EV004"),    
    DEVICE_FOUND("EV005"),
    DEVICE_NOT_FOUND("EV006"),    
    BEGIN_DEVICE_SETUP("EV007"),
    END_DEVICE_SETUP("EV008"),    
    END("EV999");
    
    
    
    /**
     * Event code
     */
    private String code;
    
    private EventCode(String code)
    {
        this.code = code;
    }
    
    /**
     * @return the code
     */
    public String getCode()
    {
        return this.code;
    }
}
